<%@ Page Language="C#" MasterPageFile="~/pages/MasterPage.master" AutoEventWireup="true" CodeFile="CustomBooking.aspx.cs" Inherits="pages_CustomBooking" Title="Untitled Page" %>

<%@ Register Src="PersonalInfoControl.ascx" TagName="PersonalInfoControl" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headHolder" Runat="Server">
    <link rel="stylesheet" type="text/css" href="../scripts/jQuery/themes/ui-lightness/jquery.ui.all.css" />
    
    <script src="../scripts/jquery-ui-1.8.16.custom.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function() {
		$("#<%=txtDepDate.ClientID %>" ).datepicker();
	    });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="bodyHoder" Runat="Server">
    <h4>Custom booking</h4>
    <hr />
    <asp:Label ID="lblMessage" runat="server"></asp:Label>
    <span class="v_padding10"></span>
    <span style="margin-left:130px;">Please fill in below form. All fields with (*) is required.</span>
    <uc1:PersonalInfoControl ID="uctPersonInfo" runat="server" />
    <table class="form_table">
        <tr>
            <td colspan="3">
           <strong> Booking information:</strong>
            </td>
        </tr>
        <tr>
            <td style="width: 117px;">
                Location:</td>
            <td style="width: 196px; ">
                <asp:Label ID="lblFirstPlace" runat="server"></asp:Label>
                -
                <asp:Label ID="lblSecondPlace" runat="server"></asp:Label></td>
            <td style="width: 50px;"></td>
        </tr>
        <tr>
            <td style="width: 117px;">
                Facility: </td>
            <td style="width: 196px;">
                <asp:Label ID="lblFacility" runat="server"></asp:Label></td>
            <td style="width: 3px; ">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtGuestNum"
                    Display="Dynamic" ErrorMessage="Please specify number of guests" Style="left: 0px;
                    top: 6px">*</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtGuestNum"
                    Display="Dynamic" ErrorMessage="Invalid value for number of guests" ValidationExpression="\d+">*</asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style=" width: 117px;">
                Number of guests *:</td>
            <td style="width: 196px;">
                <asp:TextBox ID="txtGuestNum" runat="server"></asp:TextBox></td>
            <td style="width: 3px;">
            </td>
        </tr>
        <tr>
            <td style="height: 24px; width: 117px;">
                Departure date *:</td>
            <td style="width: 196px;">
                <asp:TextBox ID="txtDepDate" runat="server"></asp:TextBox></td>
            <td style="width: 3px; ">
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtDepDate"
                    ErrorMessage="Invalid date value for Departure date" ValidationExpression="\d{1,2}/\d{1,2}/\d{4}">*</asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="width: 117px;">
                Requirements:</td>
            <td style="width: 196px;">
                <asp:TextBox ID="txtNote" runat="server" Height="85px" TextMode="MultiLine" Width="268px"></asp:TextBox></td>
            <td style="width: 3px;">
            </td>
        </tr>
        <tr>
            <td style="width: 117px;">
            </td>
            <td style="width: 196px;">
                <asp:LinkButton ID="lnkAccept" runat="server" CssClass="c_button" OnClick="lnkAccept_Click">Accept</asp:LinkButton></td>
            <td style="width: 3px;">
            </td>
        </tr>
    </table>
</asp:Content>

